//package com.huike.web.controller.clues;
//
//import com.huike.clues.domain.TbClue;
//import com.huike.clues.domain.result.UserInfoAjaxResult;
//import com.huike.clues.service.ITbClueService;
//import com.huike.common.utils.SecurityUtils;
//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiOperation;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.web.bind.annotation.*;
//
//import javax.annotation.Resource;
//
//@Api(tags = "线索管理相关接口")
//@Slf4j
//@RestController
//@RequestMapping("/clues/clue")
//public class TbCluesController {
//    @Resource
//    ITbClueService iTbClueService;
//    @PostMapping()
//    @ApiOperation("新增线索管理")
//    public UserInfoAjaxResult insert(@RequestBody TbClue tbClue){
//        log.info("新增线索管理，操作人:{}", SecurityUtils.getUsername());
//        iTbClueService.insert(tbClue);
//        return UserInfoAjaxResult.success();
//    }
//    @PutMapping()
//    @ApiOperation("修改线索管理")
//    public UserInfoAjaxResult update(@RequestBody TbClue tbClue){
//        log.info("修改线索管理，操作人:{}，修改对象id：{}", SecurityUtils.getUsername(),tbClue.getId());
//        iTbClueService.update(tbClue);
//        return UserInfoAjaxResult.success();
//    }
//}
